/**
 * 
 */
package org.hotpotmaterial.codegenn2.dto;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author cakydeveloper
 *
 */
@Data
public class DataSourceDTO {
	
	@NotBlank
	@ApiModelProperty(value = "连接池名称", example = "test")
	private String pollName;

	@NotBlank
	@ApiModelProperty(value = "JDBC driver", example = "org.h2.Driver")
	private String driverClassName;

	@NotBlank
	@ApiModelProperty(value = "JDBC url 地址", example = "jdbc:h2:mem:test10")
	private String url;

	@NotBlank
	@ApiModelProperty(value = "JDBC 用户名", example = "sa")
	private String username;

	@ApiModelProperty(value = "JDBC 密码")
	private String password;

}
